<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
    
    /* .pkp>div{
        width: 310px;
        height: 438px;
        background-image: url(./img/pk1.png);
        /* margin: 50px auto; */
        /* position: absolute;
        top: 50%;
        left: 50%;
        transition:all 2s linear; */
        /* transform-origin:0 0; */
    /* } */ 
    /* .pkp:hover div:nth-child(1){
        transform: rotate(60deg);
    }
    .pkp:hover div:nth-child(2){
        transform: rotate(120deg);
    }
    .pkp:hover div:nth-child(3){
        transform: rotate(180deg);
    }
    .pkp:hover div:nth-child(4){
        transform: rotate(240deg);
    }
    .pkp:hover div:nth-child(5){
        transform: rotate(300deg);
    }
    .pkp:hover div:nth-child(6){
        transform: rotate(360deg);
    } */
    .pkp>img{
        width: 310px;
        height: 438px;
        position: absolute;
        top: 50%;
        left: 50%;
        display: block;
        /* 过渡属性 过渡时间 过渡曲线 延迟时间*/
        transition: all 3s linear;
        /* 旋转位置角度 */
        transform-origin: top left;
    }
    .pkp:hover img:nth-child(1){
        transform: rotate(60deg);
    }
    .pkp:hover img:nth-child(2){
        transform: rotate(120deg);
    }
    .pkp:hover img:nth-child(3){
        transform: rotate(180deg);
    }
    .pkp:hover img:nth-child(4){
        transform: rotate(240deg);
    }
    .pkp:hover img:nth-child(5){
        transform: rotate(300deg);
    }
    .pkp:hover img:nth-child(6){
        transform: rotate(360deg);
    }
    </style>
</head>
<body>
    <div class="pkp">
        <!-- <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div> -->
        <img src="./img/pk1.png" alt="">
        <img src="./img/pk1.png" alt="">
        <img src="./img/pk1.png" alt="">
        <img src="./img/pk1.png" alt="">
        <img src="./img/pk1.png" alt="">
        <img src="./img/pk1.png" alt="">
    </div>
</body>
</html>